<style>
#load{
    width:100%;
    height:100%;
    position:fixed;
    z-index:9999;
    background:url("images/loading_bar.gif") no-repeat center center #fff;
}
</style>
<div class="container-fluid">
  <div class="row-fluid container_bg">
  <div ng-include="'side-menu.html'"></div>
	<div class="span9">
		<div class="container_title">
			<div class=""><h1>Discount Orders</h1></div>
			<div class="container_form_top">
				<table ng-table="tableParams" class="table">
						<tr ng-repeat="user in $data">
							<td data-title="'Post Order Date'">{{user.added_date}}</td>
							<td data-title="'Delivered Date'">{{user.delivered_date}}</td>
							<td data-title="'Tracking ID'">{{user.user_medicine_order_id}}</td>
							<td data-title="'Shop Name'">{{user.shop_name}},<br/>
									Address:{{user.address}}<br/>
									Location:{{user.location}},<br/>
									Pincode:{{user.pincode}},<br/>
									Contact:{{user.phone}}.
							</td>
							<td  data-title="'Status'">
								<p id="paidStatus{{user.user_medicine_order_id}}" ng-if='user.admin_paid_status==0'>Not Paid</p>
								<p id="paidStatus{{user.user_medicine_order_id}}" ng-if='user.admin_paid_status==1'>Paid</p>
							</td>
							<td data-title="'Discount'">Rs {{user.discount}}.00</td>
							<td data-title="'Action'">
								<p id="paidDis{{user.user_medicine_order_id}}"><a ng-if='user.admin_paid_status==0' href="javascript:void(0)" ng-click="paidDiscount(user.user_medicine_order_id)">Paid</a></p>
								<p ng-if='user.admin_paid_status==1'>Completed</p>
							</td>
						</tr>
					</table>
			</div>
			<div id="errornodata_message">
			</div>
		</div>
	</div>
  </div>
</div>


